<%@page import="cn.edu.pku.wxlib.recommendation.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>

	<input type="hidden" id="recommendationId" name="recommendationId" value="${recommendation.recommendationId}"/>

	<tr>	
		<td class="tdLabel">
			<span class="required">*</span>userId:
		</td>		
		<td>
		<form:input path="userId" id="userId" cssClass="required validate-integer max-value-2147483647" maxlength="10" />
		<font color='red'><form:errors path="userId"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			createTime:
		</td>		
		<td>
		<input value="${recommendation.createTimeString}" onclick="WdatePicker({dateFmt:'<%=Recommendation.FORMAT_CREATE_TIME%>'})" id="createTimeString" name="createTimeString"  maxlength="0" class="" />
		<font color='red'><form:errors path="createTime"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			1未处理，2购买，3拒绝:
		</td>		
		<td>
		<form:input path="state" id="state" cssClass="validate-integer max-value-2147483647" maxlength="10" />
		<font color='red'><form:errors path="state"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			<span class="required">*</span>书名/报刊名:
		</td>		
		<td>
		<form:input path="name" id="name" cssClass="required " maxlength="128" />
		<font color='red'><form:errors path="name"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			作者:
		</td>		
		<td>
		<form:input path="author" id="author" cssClass="" maxlength="32" />
		<font color='red'><form:errors path="author"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			出版社:
		</td>		
		<td>
		<form:input path="publisher" id="publisher" cssClass="" maxlength="64" />
		<font color='red'><form:errors path="publisher"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			出版时间:
		</td>		
		<td>
		<input value="${recommendation.publishTimeString}" onclick="WdatePicker({dateFmt:'<%=Recommendation.FORMAT_PUBLISH_TIME%>'})" id="publishTimeString" name="publishTimeString"  maxlength="0" class="" />
		<font color='red'><form:errors path="publishTime"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			理由:
		</td>		
		<td>
		<form:input path="reason" id="reason" cssClass="" maxlength="256" />
		<font color='red'><form:errors path="reason"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			价格:
		</td>		
		<td>
		<form:input path="price" id="price" cssClass="validate-number " maxlength="22" />
		<font color='red'><form:errors path="price"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			备注:
		</td>		
		<td>
		<form:input path="remark" id="remark" cssClass="" maxlength="256" />
		<font color='red'><form:errors path="remark"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			来源:
		</td>		
		<td>
		<form:input path="source" id="source" cssClass="" maxlength="64" />
		<font color='red'><form:errors path="source"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			isbnorIssn:
		</td>		
		<td>
		<form:input path="isbnorIssn" id="isbnorIssn" cssClass="" maxlength="13" />
		<font color='red'><form:errors path="isbnorIssn"/></font>
		</td>
	</tr>	
	
		